<table class="edit_table">
  <%= form_for [:admins, @sptitle] ,:html => {:multipart => true} do |f| %>
      <tr>
        <td>专题名称:</td>
        <td><%= f.text_field :name,:class => 'long_input' %></td>
      </tr>
      <tr>
        <td>专题图片:</td>
        <td><%= f.file_field :picture %>(图片大小:102x92)<%= f.hidden_field :picture_cache %></td>
      </tr>
      <tr>
        <td colspan="4">
          <%= f.submit'确认',:class => 'btn btn-primary' %>
          <%= link_to '返回',admins_sptitles_path,:class => 'btn btn-info' %>
        </td>
      </tr>
  <% end %>
</table>

